package com.sumu.bean;

import java.io.Serializable;
import java.util.List;

public class LikeBean implements Serializable{
	private int errno;
	private long timestamp;
	private int cached;
	private int serverstatus;
	private long serverlogid;
	private String errmsg;
	private String success;
	private Data data;
	
	

	@Override
	public String toString() {
		return "LikeBean [errno=" + errno + ", timestamp=" + timestamp
				+ ", cached=" + cached + ", serverstatus=" + serverstatus
				+ ", serverlogid=" + serverlogid + ", errmsg=" + errmsg
				+ ", success=" + success + ", data=" + data + "]";
	}

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}

	public String getSuccess() {
		return success;
	}

	public void setSuccess(String success) {
		this.success = success;
	}

	public int getErrno() {
		return errno;
	}

	public void setErrno(int errno) {
		this.errno = errno;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

	public int getCached() {
		return cached;
	}

	public void setCached(int cached) {
		this.cached = cached;
	}

	public int getServerstatus() {
		return serverstatus;
	}

	public void setServerstatus(int serverstatus) {
		this.serverstatus = serverstatus;
	}

	public long getServerlogid() {
		return serverlogid;
	}

	public void setServerlogid(long serverlogid) {
		this.serverlogid = serverlogid;
	}

	public Data getData() {
		return data;
	}

	public void setData(Data data) {
		this.data = data;
	}

	public class Data implements Serializable{
		private int tuan_num;
		private List<Tuan_list> tuan_list;
		
		public int getTuan_num() {
			return tuan_num;
		}

		public void setTuan_num(int tuan_num) {
			this.tuan_num = tuan_num;
		}

		public List<Tuan_list> getTuan_list() {
			return tuan_list;
		}

		public void setTuan_list(List<Tuan_list> tuan_list) {
			this.tuan_list = tuan_list;
		}

		public class Tuan_list implements Serializable{
			private int sale_count;
			private long groupon_price;
			private long market_price;
			private long pay_start_time;
			private long pay_end_time;
			private int new_groupon;
			private int sale_out;
			private int groupon_type;
			private float score;
			private int comment_num;
			private int bought_weekly;
			private int is_latest;
			private int appoint;
			private int is_flash;
			private int ifvirtual;
			private String deal_id;
			private String image;
			private String brand_name;
			private String short_title;
			private String s;
			private String distance;
			

			@Override
			public String toString() {
				return "Tuan_list [sale_count=" + sale_count
						+ ", groupon_price=" + groupon_price
						+ ", market_price=" + market_price
						+ ", pay_start_time=" + pay_start_time
						+ ", pay_end_time=" + pay_end_time + ", new_groupon="
						+ new_groupon + ", sale_out=" + sale_out
						+ ", groupon_type=" + groupon_type + ", score=" + score
						+ ", comment_num=" + comment_num + ", bought_weekly="
						+ bought_weekly + ", is_latest=" + is_latest
						+ ", appoint=" + appoint + ", is_flash=" + is_flash
						+ ", ifvirtual=" + ifvirtual + ", deal_id=" + deal_id
						+ ", image=" + image + ", brand_name=" + brand_name
						+ ", short_title=" + short_title + ", s=" + s
						+ ", distance=" + distance + ", favour_list="
						+ favour_list + "]";
			}

			private Favour_list favour_list;
			
			public int getSale_count() {
				return sale_count;
			}
			public void setSale_count(int sale_count) {
				this.sale_count = sale_count;
			}
			public long getGroupon_price() {
				return groupon_price;
			}
			public void setGroupon_price(long groupon_price) {
				this.groupon_price = groupon_price;
			}
			public long getMarket_price() {
				return market_price;
			}
			public void setMarket_price(long market_price) {
				this.market_price = market_price;
			}
			public long getPay_start_time() {
				return pay_start_time;
			}
			public void setPay_start_time(long pay_start_time) {
				this.pay_start_time = pay_start_time;
			}
			public long getPay_end_time() {
				return pay_end_time;
			}
			public void setPay_end_time(int pay_end_time) {
				this.pay_end_time = pay_end_time;
			}
			public int getNew_groupon() {
				return new_groupon;
			}
			public void setNew_groupon(int new_groupon) {
				this.new_groupon = new_groupon;
			}
			public int getSale_out() {
				return sale_out;
			}
			public void setSale_out(int sale_out) {
				this.sale_out = sale_out;
			}
			public int getGroupon_type() {
				return groupon_type;
			}
			public void setGroupon_type(int groupon_type) {
				this.groupon_type = groupon_type;
			}
			public float getScore() {
				return score;
			}
			public void setScore(float score) {
				this.score = score;
			}
			public int getComment_num() {
				return comment_num;
			}
			public void setComment_num(int comment_num) {
				this.comment_num = comment_num;
			}
			public int getBought_weekly() {
				return bought_weekly;
			}
			public void setBought_weekly(int bought_weekly) {
				this.bought_weekly = bought_weekly;
			}
			public int getIs_latest() {
				return is_latest;
			}
			public void setIs_latest(int is_latest) {
				this.is_latest = is_latest;
			}
			public int getAppoint() {
				return appoint;
			}
			public void setAppoint(int appoint) {
				this.appoint = appoint;
			}
			public int getIs_flash() {
				return is_flash;
			}
			public void setIs_flash(int is_flash) {
				this.is_flash = is_flash;
			}
			public int getIfvirtual() {
				return ifvirtual;
			}
			public void setIfvirtual(int ifvirtual) {
				this.ifvirtual = ifvirtual;
			}
			public String getDeal_id() {
				return deal_id;
			}
			public void setDeal_id(String deal_id) {
				this.deal_id = deal_id;
			}
			public String getImage() {
				return image;
			}
			public void setImage(String image) {
				this.image = image;
			}
			public String getBrand_name() {
				return brand_name;
			}
			public void setBrand_name(String brand_name) {
				this.brand_name = brand_name;
			}
			public String getShort_title() {
				return short_title;
			}
			public void setShort_title(String short_title) {
				this.short_title = short_title;
			}
			public String getS() {
				return s;
			}
			public void setS(String s) {
				this.s = s;
			}
			public String getDistance() {
				return distance;
			}
			public void setDistance(String distance) {
				this.distance = distance;
			}
			
			public Favour_list getFavour_list() {
				return favour_list;
			}
			public void setFavour_list(Favour_list favour_list) {
				this.favour_list = favour_list;
			}
			
			public class Favour_list{
				private int reductionAmount;
				private int price;
				private int ifvirtual;
				private String deal_id;
				private String list_text;
				private String price_tag_id;
				private String s;
				private String virtual_redirect_url;
				private List<ActivityList> activityList;
				
				public int getReductionAmount() {
					return reductionAmount;
				}

				public void setReductionAmount(int reductionAmount) {
					this.reductionAmount = reductionAmount;
				}

				public int getPrice() {
					return price;
				}

				public void setPrice(int price) {
					this.price = price;
				}

				public int getIfvirtual() {
					return ifvirtual;
				}

				public void setIfvirtual(int ifvirtual) {
					this.ifvirtual = ifvirtual;
				}

				public String getDeal_id() {
					return deal_id;
				}

				public void setDeal_id(String deal_id) {
					this.deal_id = deal_id;
				}

				public String getList_text() {
					return list_text;
				}

				public void setList_text(String list_text) {
					this.list_text = list_text;
				}

				public String getPrice_tag_id() {
					return price_tag_id;
				}

				public void setPrice_tag_id(String price_tag_id) {
					this.price_tag_id = price_tag_id;
				}

				public String getS() {
					return s;
				}

				public void setS(String s) {
					this.s = s;
				}

				public String getVirtual_redirect_url() {
					return virtual_redirect_url;
				}

				public void setVirtual_redirect_url(String virtual_redirect_url) {
					this.virtual_redirect_url = virtual_redirect_url;
				}

				public List<ActivityList> getActivityList() {
					return activityList;
				}

				public void setActivityList(List<ActivityList> activityList) {
					this.activityList = activityList;
				}

				public class ActivityList{
					private int type;
					private int height;
					private int width;
					private String favour_id;
					private String name;
					private String icon;
					public int getType() {
						return type;
					}
					public void setType(int type) {
						this.type = type;
					}
					public int getHeight() {
						return height;
					}
					public void setHeight(int height) {
						this.height = height;
					}
					public int getWidth() {
						return width;
					}
					public void setWidth(int width) {
						this.width = width;
					}
					public String getFavour_id() {
						return favour_id;
					}
					public void setFavour_id(String favour_id) {
						this.favour_id = favour_id;
					}
					public String getName() {
						return name;
					}
					public void setName(String name) {
						this.name = name;
					}
					public String getIcon() {
						return icon;
					}
					public void setIcon(String icon) {
						this.icon = icon;
					}
					
				}
			}
			
		}
	}
}
